<?php
/**
 * @author wangkangchao
 */
namespace app\admin\model\finance;

use app\admin\model\Base;
use think\Model;

class WithdrawMoney extends Model
{
    // 表名
    protected $name = 'withdraw_money';
    
    // 自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';
    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';

    //自动完成
    protected $insert = ['weigh'];

    protected function setWeighAttr()
    {
        return getMillisecond();
    }

}